﻿using System;
using System.Collections.Generic;
using System.Text;

namespace ConsoleApp4
{
    public enum Robottype
    {
        CookRobot,
        DeliveryRobot
    }
    abstract class Robot
    {
        private string name;
        private Robottype type;

        public Robot(string name, Robottype type)
        {
            this.name = name;
            this.type = type;
        }

        public string Name
        {
            get { return this.name; }
            set { this.name = value; }
        }
        public Robottype Type
        {
            get { return this.type; }
            set { this.type = value; }
        }

        public abstract void Working();
    }
}
